package net.cctech.user_service.util;

import org.springframework.util.DigestUtils;

/**
 * @author Can.Ru
 */
public class Md5Util {

    private static final String SALT ="@#UA&^&$127#$!~%……&";

    public static String getPwd(String pwd){
        return DigestUtils.md5DigestAsHex(String.format("%s%s", pwd, SALT).getBytes());
    }
}
